/*
 * @version May 28, 2011
 * Thach changed the types of various collections from List to Set to reflect
 * new parameters.
 */

package parsers;

import static org.junit.Assert.assertTrue;

import java.io.File;
import java.io.IOException;

import org.junit.Before;
import org.junit.Test;

public class TimeSlotParserTest {

	TimeSlotParser parser;

	@Before
	public void setUp() throws IOException {
		parser = new TimeSlotParser(new File("TimeSlots.txt"));
	}

	@Test
	public void testParse() {
		CharSequence cs = "1430,1635,Monday,Wednesday";
		assertTrue(parser.log().contains(cs));
	}
}
